using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Dimebrain.TweetSharp.Model;

namespace twimilar.DomainModel
{
	public class Account : User
	{
		private readonly IList<User> _friends;

		public Account(TwitterUser user)
			: base(user)
		{
			_friends = new List<User>();
		}

		public ReadOnlyCollection<User> Friends
		{
			get
			{
				return new ReadOnlyCollection<User>(_friends);
			}
		}

		public void AddFriend(User user)
		{
      _friends.Add(user);
		}
	}
}